package com.example.t1;

import android.app.Application;
import android.util.DisplayMetrics;

public class MyApplication extends Application {

    public static int SCREEN_WIDTH, SCREEN_HEIGHT;

    @Override
    public void onCreate() {
	super.onCreate();
	DisplayMetrics dm = getResources().getDisplayMetrics();
	SCREEN_WIDTH = dm.widthPixels;
	SCREEN_HEIGHT = dm.heightPixels;
    }
}
